package framework.base;

import java.util.List;

import framework.Page;

public interface IBaseService<E> {
	public E selectOne(IBaseQuery ob);

	public List<E> selectList(IBaseQuery ob, Page page);

	public List<E> selectList(IBaseQuery ob);

	public Object insert(E entity);

	public Object delete(E entity);

	public void delete(List<E> list);

	/** 批量修改数据 */
	public void update(List<E> list);

	public Object update(E entity);

	public Integer selectCount(E entity);
}
